package com.phantasy.proto
{
	import com.phantasy.Message;
	
	import flash.net.registerClassAlias;
	
	public class p_goods extends Message
	{
		
		public var id:int = 0;
		public var type:int = 0;
		public var roleid:Number = 0;
		public var bagposition:int = 0;
		public var bagid:int = 0;
		public var current_num:int = 0;
		public var sell_type:int = 1;
		public var sell_price:int = 0;
		public var typeid:int = 0;
		public var bind:Boolean = false;
		public var start_time:int = 0;
		public var end_time:int = 0;
		public var current_color:int = 0;
		public var color:Array;
		public var current_glyph:int = 0;
		public var glyph:Array;
		public var state:int = 0;
		public var name:String = "";
		public var level:int = 0;
		public var embe_pos:int = 0;
		public var embe_equipid:int = 0;
		public var loadposition:int = 0;
		public var current_endurance:int = 0;
		public var punch_num:int = 0;
		public var stone_num:int = 0;
		public var base_property:Array;
		public var stones:Array;
		public var reinforce_rate:int = 0;
		public var basefight:int = 0;
		public var use_bind:int = 0;
		public var real_fashion:int = 0;
		public var fashion_overdue:int = 0;
		public var refining_index:int = 0;
		public var zl_main:Array;
		public var zl_mpro:Array;
		public var zl_opro:Array;
		public var all_prop:Array;
		public var fight:int = 0;
		
		public function p_goods()
		{
			this.color = new Array();
			this.glyph = new Array();
			this.base_property = new Array();
			this.stones = new Array();
			this.zl_main = new Array();
			this.zl_mpro = new Array();
			this.zl_opro = new Array();
			this.all_prop = new Array();
			super();
			registerClassAlias("p.p_goods", p_goods);
		}
		
		override public function getMethodName():String
		{
			return ("g");
		}
		
		override public function getClassName():String
		{
			return ("p_goods");
		}
		
		override public function getAttributes():Array
		{
			return ([["id", "int", "null"], ["type", "int", "null"], ["roleid", "Number", "null"], ["bagposition", "int", "null"], ["bagid", "int", "null"], ["current_num", "int", "null"], ["sell_type", "int", "null"], ["sell_price", "int", "null"], ["typeid", "int", "null"], ["bind", "Boolean", "null"], ["start_time", "int", "null"], ["end_time", "int", "null"], ["current_color", "int", "null"], ["color", "array", "p_prop"], ["current_glyph", "int", "null"], ["glyph", "array", "p_prop"], ["state", "int", "null"], ["name", "String", "null"], ["level", "int", "null"], ["embe_pos", "int", "null"], ["embe_equipid", "int", "null"], ["loadposition", "int", "null"], ["current_endurance", "int", "null"], ["punch_num", "int", "null"], ["stone_num", "int", "null"], ["base_property", "array", "p_prop"], ["stones", "array", "p_goods"], ["reinforce_rate", "int", "null"], ["basefight", "int", "null"], ["use_bind", "int", "null"], ["real_fashion", "int", "null"], ["fashion_overdue", "int", "null"], ["refining_index", "int", "null"], ["zl_main", "array", "p_prop"], ["zl_mpro", "array", "p_zlinfo"], ["zl_opro", "array", "p_zlinfo"], ["all_prop", "array", "p_prop"], ["fight", "int", "null"]]);
		}
		
		
	}
}
